package com.zmx.user.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;

/**
 * @Description: 微信相关配置
 * @ClassName: WxConfig
 * @Author zhaomxr
 * @Date 2022-01-07 10:04
 */
@Data
@Component
@ConfigurationProperties(prefix = "weixin")
public class WxConfig {

    /**
     * 微信 appid
     */
    private String appId;

    /**
     * 微信 appSecret
     */
    private String appSecret;

    /**
     * 获取openid的url地址
     */
    private String openid_url;

    /**
     * 获取access_token的url地址
     */
    private String access_token_url;

    /**
     * 获取jsapi_ticket的url地址
     */
    private String jsapi_ticket_url;
}
